import request from "../utils/request";

//用户登录接口
export const userLoginService = ({ account, password }) => {
  return request.post("/user/login", { account, password });
};

export const userRegisterService = (account, password, uname, role) => {
  return request.post("/user/register", { account, password, uname, role});
};
